package com.chukun.flink.stream.window.process.bean;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

/**
 * @author chukun
 * @version 1.0.0
 * @description 事件实体
 * @createTime 2022年05月24日 22:36:00
 */

@ToString
@Setter
@Getter
@NoArgsConstructor
public class EventBean {

    private List<String> list;
    private long time;

    public EventBean(String text, long time) {
        list = new ArrayList<>();
        list.add(text);
        this.time = time;
    }
}
